<template>
  <div class="position hidden-sm-and-up">
    <el-affix position="top" :offset="700">
      <el-dropdown placement="top-start" trigger="click" hide-on-click>
        <el-button size="mini" type="primary">导航</el-button>
        <template #dropdown>
          <el-dropdown-menu>
            <el-dropdown-item>
              <router-link to="/home">首页</router-link>
            </el-dropdown-item>
            <el-dropdown-item>
              <router-link to="/about">关于</router-link>
            </el-dropdown-item>
            <el-dropdown-item>
              <router-link to="/web">网站导航</router-link>
            </el-dropdown-item>
            <el-dropdown-item>
              <router-link to="/update">更新日志</router-link>
            </el-dropdown-item>
          </el-dropdown-menu>
        </template>
      </el-dropdown>
    </el-affix>
  </div>
</template>

<script>
export default {
  setup() {
    return {};
  },
};
</script>

<style lang="scss" scoped></style>
